<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
  <el-row type="flex" justify="center">
    <el-col :span="6">
      <div class="add" style="padding: 30px 15px 30px 15px;">
        <el-row>
          发布评论
        </el-row>
        <el-row>
          <el-input style="width: 240px; margin-top: 5px" placeholder="昵称"></el-input>
        </el-row>
        <el-row>
          <el-input style="width: 360px; margin-top: 5px" type="textarea" :rows="6" placeholder="评论内容"></el-input>
        </el-row>
        <el-row style="margin-top: 10px; margin-left: 290px;">
          <el-button>发布</el-button>
        </el-row>
      </div>
    </el-col>
    <el-col :span="6">
      <div class="list" style="padding: 30px 15px 30px 15px;">
        <h3>评论列表</h3>
        <el-row :span="10" v-for="item in list" style="margin-top: 10px;">
            <div class="item">
              <el-row :span="2">
                <el-col :span="4" style="font-size: 17px;">XXX说：</el-col>
                <el-col :span="17" style="padding-top: 25px; font-size: 13px;">哈哈哈哈h哈哈哈哈h哈<br/>哈哈哈h哈哈哈哈h哈哈哈哈h哈哈哈哈h</el-col>
                <el-col :span="3"><el-button size="mini">删除</el-button></el-col>
              </el-row>
            </div>
        </el-row>
      </div>
    </el-col>
  </el-row>
</div>
</body>

</body>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
  new Vue({
    el: '#app',
    data:{
      list:[{},{}]
    }
  })
</script>
<style>
  *{
    padding: 0;
    margin: 0;
  }
  .item{
    border-style:solid;
    border-color:#CCCCCC;
    border-width: 1px;
    border-radius: 3px;
    width: 100%;
    padding: 10px;
  }
</style>
</html>
